﻿
namespace SelfService.XinXing.Models
{
    public class InspectionQueryValidate
    {
        /// <summary>
        /// 请求渠道
        /// </summary>
        public string Channel { get; set; }

        /// <summary>
        /// 诊区ID
        /// </summary>
        public string SectionId { get; set; }

        /// <summary>
        /// 诊室ID
        /// </summary>
        public string RoomId { get; set; }

        /// <summary>
        /// 就诊卡号(门诊患者)
        /// </summary>
        public string CardNo { get; set; }

        /// <summary>
        /// 门诊号(门诊患者，就诊卡号和门诊号二选一)
        /// </summary>
        public string VisitNo { get; set; }

        /// <summary>
        /// 住院号(住院患者)
        /// </summary>
        public string InHosNo { get; set; }

        /// <summary>
        /// 申请单开立时间, 格式yyyy-MM-dd, 默认当天
        /// </summary>
        public string BeginDate { get; set; }

        /// <summary>
        /// 结束时间
        /// </summary>
        public string EndDate { get; set; }
    }

    public class InspectionPayAndSignValidate
    {
        /// <summary>
        /// 请求渠道
        /// </summary>
        public string Channel { get; set; }

        /// <summary>
        /// 诊室ID
        /// </summary>
        public string RoomId { get; set; }

        /// <summary>
        /// 申请单号
        /// </summary>
        public string ApplyNo { get; set; }
    }

    public class PayAndRegisterValidate
    {
        public string DeptId { get; set; }

        public string DeptCode { get; set; } = "";

        public string DoctorId { get; set; } = "";

        public string DoctorCode { get; set; }

        public string CardNo { get; set; }

        public string Channel { get; set; }

        public string OperatorCode { get; set; }
    }

    public enum OfferTypeEnum
    {
        无优惠 = 1,
        免挂号费 = 2,
        全免 = 3,
        免诊查费 = 4
    }

    public enum VisitTypeEnum
    {
        初诊 = 1,
        复诊 = 2,
        回诊 = 3
    }
}
